package com.sto.stoapp.entity;

import com.sto.stoapp.http.BaseMessage;

/**
 * 员工编号实体类
 * 
 * @author mgf
 * 
 */
public class SalesEntity extends BaseEntity {
	// 员工编号
	private String salesNumber;
	// 员工名称
	private String salesName;

	public SalesEntity() {

	}

	public SalesEntity(String responseDetail) {
		String[] data = responseDetail.split(BaseMessage.SPILTE
				+ BaseMessage.SEPARATOR);
		if (data.length > 0) {
			salesNumber = data[0].trim();
		}
		if (data.length > 1) {
			salesName = data[1].trim();
		}
	}

	public String getSalesNumber() {
		return salesNumber;
	}

	public void setSalesNumber(String salesNumber) {
		this.salesNumber = salesNumber;
	}

	public String getSalesName() {
		return salesName;
	}

	public void setSalesName(String salesName) {
		this.salesName = salesName;
	}

}
